<table id="invitrecord_table" ref="InvitRecord" class="table" width="100%" border="0" cellspacing="1" cellpadding="0">
		<thead class="state-header">
		  <tr>
		  
		  	  <td  width="40" tdid="0" align="center">
			 	选择
			  </td>
		  	
		  
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"id")||fields=="*"||(!fields && true)}}' tdid="1" ref="id"   title="编号">
			 	编号
			 </td>
		 
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"brand")||fields=="*"||(!fields && true)}}' tdid="2" ref="brand"   title="品牌">
			 	品牌
			 </td>
		 
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"invitedPerson")||fields=="*"||(!fields && true)}}' tdid="3" ref="invitedPerson"   title="被邀人">
			 	被邀人
			 </td>
		 
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"invitedCoupon")||fields=="*"||(!fields && true)}}' tdid="4" ref="invitedCoupon"   title="折扣券ID">
			 	折扣券ID
			 </td>
		 
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"invitedDiscount")||fields=="*"||(!fields && true)}}' tdid="5" ref="invitedDiscount"   title="受邀折扣">
			 	受邀折扣
			 </td>
		 
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"recom")||fields=="*"||(!fields && true)}}' tdid="6" ref="recom"   title="推荐人">
			 	推荐人
			 </td>
		 
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"recomCoupon")||fields=="*"||(!fields && true)}}' tdid="7" ref="recomCoupon"   title="折扣券ID">
			 	折扣券ID
			 </td>
		 
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"recomDiscount")||fields=="*"||(!fields && true)}}' tdid="8" ref="recomDiscount"   title="折扣">
			 	折扣
			 </td>
		 
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"invitrType")||fields=="*"||(!fields && true)}}' tdid="9" ref="invitrType"   title="邀请类型">
			 	邀请类型
			 </td>
		 
			 <td width="{{fields=='*'?'140':''}}" lz:if='{{lz.idin(fields,"updateTime")||fields=="*"||(!fields && true)}}' tdid="10" ref="updateTime"   title="修改时间">
			 	修改时间
			 </td>
		 
			 <td width="{{fields=='*'?'140':''}}" lz:if='{{lz.idin(fields,"addTime")||fields=="*"||(!fields && true)}}' tdid="11" ref="addTime"   title="添加时间">
			 	添加时间
			 </td>
		 
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"status")||fields=="*"||(!fields && true)}}' tdid="12" ref="status"   title="状态">
			 	状态
			 </td>
		 
		 
		 	
		 	
			
			
			
			<td  width="105"  class="operation" tdid="13" ref="operation">
				&nbsp;
			</td>
		  </tr>
		 </thead>	
		 <tbody>
		 
		  <tr lz:for="{{list}}" id="{{item.id}}" >
		  	<td class="td-checkbox" align="center">
				<input class="check" name="check" type="checkbox" value="{{item.id}}"/>
			</td>
			
		    
			 
				<td lz:if='{{lz.idin(fields,"id")||fields=="*"||(!fields && true)}}' ref="id" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.id$ || item.id}}
					  
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"brand")||fields=="*"||(!fields && true)}}' ref="brand" class="inc {{index%2==0?'odd':'even'}} td " relate="{{item.brand}}">
					 
					 
					 
					 
					 	<a onclick="window.href('{{basePath}}admin/business/merchant.edit.html?key={{item.brand}}')" href="javascript:void(0);">
					 	
					 
					 	{{item.brand$ || item.brand}}
					 </a> 
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"invitedPerson")||fields=="*"||(!fields && true)}}' ref="invitedPerson" class="inc {{index%2==0?'odd':'even'}} td " relate="{{item.invitedPerson}}">
					 
					 
					 
					 
					 	<a onclick="window.href('{{basePath}}admin/users/member.edit.html?key={{item.invitedPerson}}')" href="javascript:void(0);">
					 	
					 
					 	{{item.invitedPerson$ || item.invitedPerson}}
					 </a> 
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"invitedCoupon")||fields=="*"||(!fields && true)}}' ref="invitedCoupon" class="inc {{index%2==0?'odd':'even'}} td " relate="{{item.invitedCoupon}}">
					 
					 
					 
					 
					 	<a onclick="window.href('{{basePath}}admin/coupons/coupon.edit.html?key={{item.invitedCoupon}}')" href="javascript:void(0);">
					 	
					 
					 	{{item.invitedCoupon$ || item.invitedCoupon}}
					 </a> 
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"invitedDiscount")||fields=="*"||(!fields && true)}}' ref="invitedDiscount" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.invitedDiscount$ || item.invitedDiscount}}
					  
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"recom")||fields=="*"||(!fields && true)}}' ref="recom" class="inc {{index%2==0?'odd':'even'}} td " relate="{{item.recom}}">
					 
					 
					 
					 
					 	<a onclick="window.href('{{basePath}}admin/users/member.edit.html?key={{item.recom}}')" href="javascript:void(0);">
					 	
					 
					 	{{item.recom$ || item.recom}}
					 </a> 
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"recomCoupon")||fields=="*"||(!fields && true)}}' ref="recomCoupon" class="inc {{index%2==0?'odd':'even'}} td " relate="{{item.recomCoupon}}">
					 
					 
					 
					 
					 	<a onclick="window.href('{{basePath}}admin/coupons/coupon.edit.html?key={{item.recomCoupon}}')" href="javascript:void(0);">
					 	
					 
					 	{{item.recomCoupon$ || item.recomCoupon}}
					 </a> 
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"recomDiscount")||fields=="*"||(!fields && true)}}' ref="recomDiscount" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.recomDiscount$ || item.recomDiscount}}
					  
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"invitrType")||fields=="*"||(!fields && true)}}' ref="invitrType" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.invitrType$ || item.invitrType}}
					  
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"updateTime")||fields=="*"||(!fields && true)}}' ref="updateTime" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.updateTime$ || item.updateTime}}
					  
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"addTime")||fields=="*"||(!fields && true)}}' ref="addTime" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.addTime$ || item.addTime}}
					  
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"status")||fields=="*"||(!fields && true)}}' ref="status" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.status$ || item.status}}
					  
				</td>
		  
		  
		  	
		  	
			
			
			
			<td class="operation {{index%2==0?'odd':'even'}}">
				
				<a lz:if="{{canEdit}}" onclick='navigate("/admin/users/invitrecord.edit.html",{edittype:"update",id:"{{item.id}}"},window)' href="javascript:void(0)">修改</a>
				
				
				<a lz:if="{{canView}}" class="inc-h" onclick='navigate("/admin/users/invitrecord.edit.html",{edittype:"detail",id:"{{item.id}}"},window)' href="javascript:void(0);">详情</a>
			</td>
		  </tr>
		 
		 </tbody>
		 		 
	  </table>